interface Plant {
  age: number;
}

interface Flower extends Plant {
  name: string;
}

class Lotus implements Flower {
  name: string;
  age: number;
}

let lotus: Lotus = {
  name: '荷花',
  age: 4
}
